package com.competition.system.common.model.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author Lyq
 * @version 1.0
 * @create 2020/12/2 18:45
 */
public class OutPutResult implements Serializable {

    private String code;
    private String msg;
    private Map<String, Object> data;
    private List<Map<String, Object>> datas;
    private Map<String, Object> object;

    public OutPutResult() {
        this.code = "0";
        this.msg = "成功";
        this.data = new HashMap<>();
        this.datas = new ArrayList<>();
        this.object = new HashMap<>();
    }

    public OutPutResult(String code, String msg, Map<String, Object> data, List<Map<String, Object>> datas, Map<String, Object> object) {
        this.code = code;
        this.msg = msg;
        this.data = data;
        this.datas = datas;
        this.object = object;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String rtnCode) {
        this.code = rtnCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String rtnMsg) {
        this.msg = rtnMsg;
    }

    public Map<String, Object> getData() {
        return data;
    }

    public void setData(Map<String, Object> bean) {
        this.data = bean;
    }

    public List<Map<String, Object>> getDatas() {
        return datas;
    }

    public void setDatas(List<Map<String, Object>> beans) {
        this.datas = beans;
    }

    public Map<String, Object> getObject() {
        return object;
    }

    public void setObject(Map<String, Object> object) {
        this.object = object;
    }
}
